</div>

<div class="footer"> 

<div style="float:right">
	This portal is curated by <a href="http://www.geographs.org/portals/profile/<? echo he($portal['user_id']); ?>"><? echo he($portal['realname']); ?></a>
</div>

 <? echo he($portal['excerpt']); ?><br/>

<div class="linkbox">
<b><a href="/"><? echo he($portal['title']); ?></a></b>
<ul>
	<li><a href="/related.php">Related Portals</a></li>
	<li><a href="/breakdown.php?view=cloud&by=category&order=count&in=d">Word Cloud</a></li>
	<li><a href="/breakdown.php?view=cloud&by=cluster2&order=name&in=a">Automatic Cloud</a></li>
	<li><a href="/map.php">Map</a> | <a href="/search.php">Search</a> | <a href="/?view=text">Text</a></li>

                        <?

                        if (!empty($portal['suggest_note'])) {
                                echo "<li><a href=\"http://www.geographs.org/portals/suggest.php?id={$portal['portal_id']}\">Suggest new images to add</a></li>";
                        }

                        if ($portal['readable'] == 'Y') {
                                echo "<li><a href=\"http://www.geographs.org/portals/filters_view.php?id={$portal['portal_id']}\">Portal Definition</a></li>";
                        }

                        $query = getQueryProfile($portal['portal_id']);

                        if (!empty($query['sphinx'])) {
                                echo "<li><a href=\"http://www.geograph.org.uk/search.php?searchtext=".urlencode($query['sphinx'])."&amp;do=1\">View in Geograph Search</a></li>";
                        }
                        ?>

</ul>
</div>

<div class="linkbox">
<b><a href="http://www.geographs.org.uk/portals/">Portals Homepage</a></b>
<ul>
        <li><a href="http://www.geographs.org.uk/portals/edit.php">Create a Portal</a></li>
        <li><a href="http://www.geographs.org/portals/faq.php">FAQ</a></li>
        <li><a href="https://spreadsheets.google.com/viewform?formkey=dE5IOU5VWFlfdmt6UXJrVl92ZUxvTGc6MQ">Feedback Form</a></li>
</ul>
</div>

<br style="clear:both"/>
</div>

<p class="footer">This is a new experimental interface viewing showcasing a sub-set of Geograph images. <i>This Portal (and the images contained) are released under a <a title="View licence" href="http://creativecommons.org/licenses/by-sa/3.0/" rel="licence" target="_blank">Creative Commons Licence</a>.</i></p>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-172738-9']);
  _gaq.push(['_setDomainName', '.geographs.org']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
